//
// Created by Kan Zheng on 12/10/2017.
//
#include "Context.hpp"
#include "DroidBlaster.hpp"
#include "EventLoop.hpp"
#include "TimeService.hpp"

using namespace packt;
using namespace dbs;

void android_main(android_app* pApplication) {
    TimeService lTimeService;
    Context lContext = {&lTimeService};

    EventLoop lEventLoop(pApplication);
    DroidBlaster lDroidBlaster(lContext, pApplication);
    lEventLoop.run(lDroidBlaster);
}
